<div style="display: flex; flex-direction: column; height: 100%;">
    <div id="myGrid" class="ag-theme-quartz" style="flex-grow: 1;"></div>
</div>